<?php

class Zend_Controller_Action_Helper_IsLogged extends Zend_Controller_Action_Helper_Abstract
{
    function direct()
    {
        $auth = Zend_Auth::getInstance();
        return $auth->hasIdentity();
    }
}
?>